﻿using System;
using System.Collections.Generic;
using YaAppoint.Devices;
using YaAppoint.ExamAppies;

namespace YaAppoint.Appointments.AutoAppoint
{
    /// <summary>
    /// 每台设备对申请项目的支持程度
    /// </summary>
    public class SupportDegree
    {
        public SupportDegree()
        { 
        
        }

        public SupportDegree(Guid deviceId, DeviceDto device, List<ExamApplicationDto> suppotedApplyItems, bool isAllSupport, int suportDegree)
        {
            DeviceId = deviceId;
            Device = device;
            SuppotedApplyItems = suppotedApplyItems;
            IsAllSupport = isAllSupport;
            SuportDegree = suportDegree;
        }

        public Guid DeviceId { get; set; }

        public DeviceDto Device { get; set; }

        public List<ExamApplicationDto> SuppotedApplyItems { get; set; }

        public bool IsAllSupport { get; set; }

        public int SuportDegree { get; set; } = 0;
    }
}
